package cn.tedu.spring.beanxml;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author lhd
 * @date 2024/4/16
 * @apiNote
 */
public class UserXml {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("bean.xml");
        UserXml userXml = context.getBean(UserXml.class);
        userXml.run();
    }

    public static void run(){
        System.out.println("每天飞飞飞");
    }
}
